<template>

    <div class="car">
    <p>购物车</p>
    </div>
 
</template>

<script>
export default {
   name:'Head'

}
</script>

<style>
    .car{
        position: fixed;
        top: 0;
        height: 50px;
        width: 100%;
        text-align: center;
        font-size: 20px;
        font-weight: 300;
        line-height: 50px;
        background-color: blueviolet;
        color: white;
        margin-bottom: 10px;
    }

</style>